package com.ctgu.j08.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ctgu.j08.vo.Repair;
import com.ctgu.j08.vo.Result;
import com.ctgu.j08.vo.Trouble;
import org.springframework.stereotype.Service;

/**
 * @version 1.0
 * @author: Saiya Wang
 * @date: 2021/6/3 10:23
 */
@Service
public interface RepairService extends IService<Repair> {
    /**
     * 增添维修信息
     * @param repair
     * @return
     */
    public Result addRepair(Repair repair);

    /**
     * 获取所有维修信息
     * @return
     */
    public Result getAllRepairInfo();

    /**
     * 更新维修信息
     * @param repair
     * @return
     */
    public Result editRepair(Repair repair);
}
